home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo\
- echo ┌────────────────────────────────────────────────────────────┐
- echo │ PC-Draft-CAD Installation (Disk version) │
- echo │ │
- echo │ This will create a PCDCAD sub-directory on your │
- echo │ current disk. To install on your current hard disk │
- echo │ │
- echo │ 1 - Place this disk in drive A: (or B:) │
- echo │ │
- echo │ 2 - Make your hard disk root directory current. │
- echo │ ie: for the C: drive: enter: [C:] and [CD \] │
- echo │ │
- echo │ 3 - Enter: [A:INSTALL]. (or [B:INSTALL]) │
- echo │ │
- echo │ This will extract all the files from the self- │
- echo │ extracting LHARC files and will create a START.BAT │
- echo │ file apropriate for your display system. │
- echo │ │
- echo │ This batch file is for those of you who have │
- echo │ obtained PC-Draft-CAD on disk. │
- echo │ │
- echo │ If you do not wish to continue, press Ctrl-C. │
- echo └────────────────────────────────────────────────────────────┘
- echo\
- pause
- echo we first look at your A: drive, If you don't have a disk in A:
- echo -- simply ignore the error message by pressing [F] for fail.
- echo -- Then continue with the batch file.
- if exist a:pcdcad1.exe goto adrive
- set src=B
- goto start
- :adrive
- set src=A
- :start
- md pcdcad
- md pcdcad\fon
- md pcdcad\dwg
- md pcdcad\lib
- md pcdcad\mac
- cd pcdcad
- %src%:pcdcad1
- %src%:pcdcad2
- %src%:pcdcad3
- copy *.fon fon
- del *.fon
- copy *.dwg dwg
- del *.dwg
- copy *.lib lib
- del *.lib
- copy *.mac mac
- del *.mac
- cls
- vidtest
- if errorlevel 7 goto HERCULES
- if errorlevel 5 goto VGACOLOR
- if errorlevel 4 goto VGAMONO
- if errorlevel 3 goto EGACOLOR
- if errorlevel 2 goto EGAMONO
- if errorlevel 1 goto CGA
- echo Error in detecting video adapter
- goto exit2
- :HERCULES
- set vtype=Hercules
- copy hgcstart.bat start.bat
- del vgadrv.com
- del cgadrv.com
- del svgadrv.com
- goto exit
- :VGACOLOR
- set vtype=VGA-Color
- goto VGA
- :EGACOLOR
- set vtype=EGA-Color
- goto VGA
- :VGAMONO
- set vtype=VGA-Mono
- copy cga.cfg draft3.cfg
- goto MONO
- :EGAMONO
- set vtype=EGA-Mono
- :MONO
- copy cga.cfg draft3.cfg
- :VGA
- copy vgastart.bat start.bat
- del hgcdrv.exe
- goto exit
- :CGA
- set vtype=CGA
- copy cgastart.bat start.bat
- copy cga.cfg draft3.cfg
- :exit
- echo You have a %vtype% type video display
- :exit2
- set src=
- set vtype=
- echo\
- echo ┌────────────────────────────────────────────────────────────┐
- echo │ Installation is complete. To start PC-Draft-CAD, enter: │
- echo │ │
- echo │ START │
- echo │ │
- echo │ To print the user manual, type: COPY DRAFT3.DOC PRN │
- echo │ To print READ.ME1, type: COPY READ.ME1 PRN │
- echo └────────────────────────────────────────────────────────────┘
- echo\
- echo\
-